
SYSTEMC_HOME := $(PWD)/../../sc/
export LD_LIBRARY_PATH := $(SYSTEMC_HOME)/lib

SYSTEMC_CFLAGS := -I$(SYSTEMC_HOME)/include -L$(SYSTEMC_HOME)/lib -lsystemc
CFLAGS := $(SYSTEMC_CFLAGS)

target := first_counter_tb.elf

run: first_counter_tb.cpp
	g++ $(CFLAGS) -o $(target) $^
	./$(target)

clean:
	rm -f *.o *.elf
	